//index.js
//获取应用实例
const app = getApp()

Page({
  data: {
    StatusBar: app.globalData.StatusBar,
    CustomBar: app.globalData.CustomBar,
  },
  onLoad: function () {
  },
  onShareAppMessage(res) {
  	return;
  },
  //饿了么
  eClick: function(e) {
    wx.navigateToMiniProgram({
      appId: 'wxece3a9a4c82f58c9',
      path: 'taoke/pages/shopping-guide/index?scene=gUnbSsu',
      success(res) {
      }
    })
  },
  //美团
  mtClick(e){
	wx.navigateToMiniProgram({
	  appId: 'wxde8ac0a21135c07d',
	  path: 'dynamic-page/index?scene=fenxiao-third-assist&yaoxin=1&activityId=7&uid=81530290',
	  success(res) {
	  }
	})  
  },
  //美团外卖
  mClick: function(e) {
   wx.navigateToMiniProgram({
     appId: 'wx2c348cf579062e56',
     path: 'outer_packages/r2xinvite/coupon/coupon?inviteCode=NnOIp-QOs8SiYF1dcSlL5r8phPrCf6qkH7evMyjIoureqol0OXXaopfjjblE0yPgiKVFkKySnSA00a20DXuHWN35bDK4GwzLiQr-S8AKJnWPsWDivLsY3GOIeqH9CfeCyZeQ6SVTvN9_Kp4UslRpww',
     success(res) {
     }
   })
  }
})
